﻿/// <reference path="data.js" />

(function (lightSwitchApplication) {

    msls._addEntryPoints(lightSwitchApplication.Car, {
        /// <field>
        /// Called when a new car is created.
        /// <br/>created(msls.application.Car entity)
        /// </field>
        created: [lightSwitchApplication.Car]
    });

    msls._addEntryPoints(lightSwitchApplication.Favorite, {
        /// <field>
        /// Called when a new favorite is created.
        /// <br/>created(msls.application.Favorite entity)
        /// </field>
        created: [lightSwitchApplication.Favorite]
    });

    msls._addEntryPoints(lightSwitchApplication.Movement, {
        /// <field>
        /// Called when a new movement is created.
        /// <br/>created(msls.application.Movement entity)
        /// </field>
        created: [lightSwitchApplication.Movement]
    });

    msls._addEntryPoints(lightSwitchApplication.Place, {
        /// <field>
        /// Called when a new place is created.
        /// <br/>created(msls.application.Place entity)
        /// </field>
        created: [lightSwitchApplication.Place]
    });

    msls._addEntryPoints(lightSwitchApplication.PlacesRestriction, {
        /// <field>
        /// Called when a new placesRestriction is created.
        /// <br/>created(msls.application.PlacesRestriction entity)
        /// </field>
        created: [lightSwitchApplication.PlacesRestriction]
    });

    msls._addEntryPoints(lightSwitchApplication.RestrictionRegulation, {
        /// <field>
        /// Called when a new restrictionRegulation is created.
        /// <br/>created(msls.application.RestrictionRegulation entity)
        /// </field>
        created: [lightSwitchApplication.RestrictionRegulation]
    });

    msls._addEntryPoints(lightSwitchApplication.Restriction, {
        /// <field>
        /// Called when a new restriction is created.
        /// <br/>created(msls.application.Restriction entity)
        /// </field>
        created: [lightSwitchApplication.Restriction]
    });

    msls._addEntryPoints(lightSwitchApplication.SwapMovement, {
        /// <field>
        /// Called when a new swapMovement is created.
        /// <br/>created(msls.application.SwapMovement entity)
        /// </field>
        created: [lightSwitchApplication.SwapMovement]
    });

}(msls.application));
